package designPattern.Decorator;

//具体的装饰者
public class BlackdouDecorator extends Decroator {
    public BlackdouDecorator(Drink drink) {
        super(drink);
    }

    @Override
    public float cost() {
        return super.cost()+2f;
    }

    @Override
    public String desc() {
        return super.desc()+"+黑豆";
    }
}